package cron

import "context"

type Job interface {
	register(task *Task)
	shutdown(ctx context.Context)
}

type job struct {
	id   string //任务id，注册时自动生成
	name string
	//worker Worker
	//option *options
}
